﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ProductControl.ascx.cs" Inherits="Buy2Site.UserControls.ProductControl" %>
<link rel="Stylesheet" type="text/css" href="../CSS/ProductCSS.css" id="style" runat="server" visible="false" />
<div>
    <table class="productTableCSSClass" >
        <tr>
            <td>
                <%--<asp:Label ID="Label1" runat="server" Text="Product Name: "></asp:Label>--%>
                <asp:Label ID="lblProductName" runat="server" Text="Product Name"></asp:Label>

               <%-- <asp:Label ID="Label2" runat="server" Text="Price: "></asp:Label>--%>
                <asp:Label ID="lblPrice" runat="server" Text="Price" ></asp:Label>
                <asp:Label ID="Label1" runat="server" Text=" $"></asp:Label>
            </td>
                        
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label3" runat="server" Text="Publish Date: "></asp:Label>
                <asp:Label ID="lblDate" runat="server" Text="Date"></asp:Label>
            </td>
            
        </tr>
        <tr>
            <td>
                <%--<asp:Label ID="Label4" runat="server" Text="Short Descrption: "></asp:Label>--%>
                <asp:Label ID="lblShortDescrption" runat="server" Text="Short Descrption"></asp:Label>
            </td>
        </tr>        
        <tr class="imagesCSSClass">            
            <td>
                <asp:Image ID="Picture1" runat="server" Width="180" Height="130" />
            </td>
                     
        </tr> 
        <tr>
            <td  >
                <!-- TODO: fix link - not viewed as link --> 
                <asp:ImageButton
                    ID="btnMoreDetailsLink" 
                    AlternateText="MoreDetails"
                    runat="server"                    
                    OnCommand="btnMoreDetailsLink_Command"
                    CommandName="MoreDetails"
                    ImageUrl="~/Images/MoreDetails.jpg" 
                    ImageAlign="Left" Height="27px" 
                    CausesValidation="False" />   
                    
                <asp:Button 
                    ID="linkAddToCart" 
                    runat="server"
                    Text="AddToCart"
                    OnClick="btnAddToCart_Command"
                    CausesValidation="false"
                     />
                    
                
            </td>    
            <%--<td>
                <asp:ImageButton
                    ID="btnAddToCart" 
                    AlternateText="AddToCart"
                    runat="server"                    
                    OnCommand="btnAddToCart_Command"
                    CommandName="AddToCart"
                    ImageUrl="~/Images/AddToCart.jpg" 
                    ImageAlign="Right" Height="27px" 
                    CausesValidation="False" /> 
            </td>--%>
        </tr>       
    </table>
</div>